const BASE_URL = process.env.VUE_APP_BASE_URL
const baseUrl = BASE_URL+ '/iot';
const aliUrl = baseUrl + '-devices/'
const saveIot = aliUrl + 'save';
const iotList = aliUrl + 'page';
const queryIot = aliUrl + 'queryById';
const removeIot = aliUrl + 'remove';
const iotStatus = aliUrl + 'updateStatusById';
const iotURI = aliUrl + 'queryURIByIds';
const iotArray = aliUrl + 'list';

const ysUrl = baseUrl + '-ysy/';
const saveYs = ysUrl + 'save';
const ysPage = ysUrl + 'page';
const queryYs = ysUrl + 'queryById';
const removeYs = ysUrl + 'remove';
const ysList = ysUrl + 'list';
export default {
  saveIot, iotList, queryIot, removeIot, iotStatus, iotURI, iotArray,
  saveYs, ysPage, queryYs, removeYs, ysList
}
